package view;

import java.awt.GridBagLayout;

import javax.swing.ImageIcon;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTable;

import model.kwalificatiebeheer.Kerntaak;
import model.kwalificatiebeheer.KwalificatieDossier;

import java.awt.Dialog;
import java.awt.Frame;
import java.awt.GraphicsConfiguration;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.Window;
import java.util.Observable;
import java.util.Observer;

public class KerntaakFrame extends JDialog implements Observer{
	private KwalificatieDossier kd;
	
	public KerntaakFrame(KwalificatieDossier kd){
		this.kd=kd;
		initGui();
	}
	
	private void initGui(){
		setTitle("Kerntaak toevoegen");
		ImageIcon icon = new ImageIcon(this.getClass().getResource("../resources/favicon.png"));
		setIconImage(icon.getImage());
		setSize(500, 100);
		setLocationRelativeTo(null);
		setVisible(true);
		setResizable(false);
		setAlwaysOnTop(true);
	}

	@Override
	public void update(Observable o, Object arg) {
	}
}
